10. Internet Service Commands > 10.14 Examples of how to Configure and Use Internet Service Profiles > 10.14.4 Socket Client Sends Data via TCP Connection (Polling Mode)

10.14.4
The example uses service profile 0 configured for Socket service and TCP.
 
Note: URC ^SISW:0, 1 does not appear! The host must poll the service state by means of AT^SISI until the service is in <srvState> "Up".
The service is now in <srvState> "Up" and is ready to accept data.
Response that the service accepts 10 bytes and this data and the previously sent data are unacknowl­edged.
Polling for <srvState> change ("Closing" -> "Down").
20 bytes are transfered via serial interface, 10 bytes are acknowledged by remote peer, 10 bytes are on the way.
Polling for <srvState> change ("Closing" -> "Down").